/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: ListView
 * Author:   zhouheng
 * Date:     2019/5/2 13:25
 * Description: 商品榜
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.zhouh.patterns.com.zhouh.action.command;

/**
 * 〈一句话功能简述〉<br> 
 * 〈商品榜〉
 *
 * @author zhouheng
 * @create 2019/5/2
 * @since 1.0.0
 */
public class ListView {
    private Command command;

    public ListView(Command command){
        this.command = command;
    }

    public void getList(){
        System.out.print("首页请求");
        String result = command.execute();
        System.out.println("当前列表："+result);
    }
}